LOC - Perform Item Search
(6 actions, 8 KB)
0 Comment
• https://www.loc.gov/apis/json-and-yaml/requests/endpoints • https://www.loc.gov/apis/json-and-yaml/requests/parameters/
1 Dictionary »
{ "fo": "json", "at": "item" }
2 ToolboxProForShortcuts > CreateQueryItemIntent »
dictionary
:
[1 Dictionary]
inputType
:
dictionary
3 ToolboxProForShortcuts > BuildURLIntent »
path
:
/item/
[Shortcut Input]
host
:
www.loc.gov
queryItems
:
[2 Query Item]
4 Get Contents of URL
[3 URL]
»
RequestVariable
:
[? Shortcut Result]
HTTPHeaders
:
{}
ShowHeaders
:
true
HTTPMethod
:
GET
HTTPBodyType
:
File
5 Stop and Output
[4 Contents of URL
as Dictionary.item
]